<%@ page language="java"  import="java.util.*"  contentType="text/html; charset=utf-8" %>  
<html>
<head>
<title>求和2.0</title>
</head>
<body>
<h1>求和网页输出端</h1>
<br>
  <b>第一个数:</b>
   <%  
    String s=request.getParameter("first_number");
    int m=Integer.parseInt(s);  
    out.println(m);
   %>
<br>
<b>第二个数:</b>
   <%
     String t=request.getParameter("last_number");
     int n=Integer.parseInt(t);
     out.println(n);
    %>
<br>
<b>两个数的和是:</b>
   <%  
     int p=m+n;
     out.println(p);
    %>
</body>
</html>
